package com.bykj.property.model;

import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableName;
    import com.baomidou.mybatisplus.annotation.IdType;
    import java.sql.Timestamp;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;
import com.bykj.property.model.PmProprietor;
import com.bykj.property.model.RepairPerson;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;
/**
* <p>
    * 报修信息表
    * </p>
*
* @author liangyiming
* @since 2019-07-23
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("repair_order")
    @ApiModel(value="RepairOrder对象", description="报修信息表")
    public class RepairOrder implements Serializable {


private static final long serialVersionUID = 1L;
            @TableId(value = "repair_order_id", type = IdType.AUTO)
    private Long repairOrderId;
            @ApiModelProperty(value = "业主Id")
    private Long pmProprietorId;
        /**
        *业主Id关联属性
        */
        @TableField(exist = false)
        private PmProprietor pmProprietor;
            @ApiModelProperty(value = "手机号")
    private String phone;
            @ApiModelProperty(value = "报修内容")
    private String repairContent;
            @ApiModelProperty(value = "报修日期")
    private Timestamp subRepairTime;
            @ApiModelProperty(value = "维修日期")
    private Timestamp doRepairTime;
            @ApiModelProperty(value = "维修人员id")
    private Long repairPersonId;
        /**
        *维修人员id关联属性
        */
        @TableField(exist = false)
        private RepairPerson repairPerson;
            @ApiModelProperty(value = "维修情况")
    private String repairSituation;
            @ApiModelProperty(value = "维修状态 0：未审核；1：审核未通过；2：未处理；3：处理中；4：已处理；")
    private String repairState;
    private Timestamp createdTime;
    private Timestamp updateTime;

}
